package com.kuaishou.xuexue.tests;


import com.alibaba.fastjson.JSON;

import java.util.LinkedList;

public class MyTest1 {
    public static void main(String[] args) {
        System.out.println(5/2);

        LinkedList<Character> linkedList = new LinkedList();
        String a = "(]";
        for(char ch:a.toCharArray()){
            linkedList.addLast(ch);
        }
        System.out.println(JSON.toJSON(linkedList));
        while (linkedList.peek()!=null){
            System.out.println(linkedList.poll());
        }
    }
}
